<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8" />
    <meta name="viewport" content="width=device-width, initial-scale=1.0" />
    <link rel="stylesheet" href="../../../yl/index.css" />
    <link rel="stylesheet" href="../../../style/index.css" />
    <title>工作日志</title>
    <style>
        .el-switch{
            border: 1px solid #dcdfe6;
            height: 31.98px;
            border-radius: 4px;
            padding: 0 10px;
        }
    </style>
</head>

<body>
    <div id="app" v-cloak>
        <div class="title">
            <div>
                <el-date-picker @change="check" v-model="value" format="YYYY-MM-DD" value-format="YYYY-MM-DD" type="daterange" range-separator="至" start-placeholder="开始日期" end-placeholder="结束日期"></el-date-picker>
                <el-button type="primary" style="margin-left:10px; " @click="personalAdd">添加</el-button>
                <el-button type="success"  @click="Export" :loading="loading1">导出</el-button>
            </div>
        </div>
        <div class="body">
            <div class="right">
                <el-table id="table" height="450" v-loading="loading" ref="multipleTable" tooltip-effect="dark" border :data="tableData">
                    <el-table-column align="center" type="index" label="序号" width="60"></el-table-column>
                    <el-table-column prop="Work_Number" label="任务编号" width="180"></el-table-column>
                    <el-table-column prop="Work_Name" label="任务功能" width="180"></el-table-column>
                    <el-table-column prop="Work_Main" label="任务内容" min-width="400"></el-table-column>
                    <el-table-column prop="Start_Datetime" label="开始时间" fixed="right" width="160"></el-table-column>
                    <el-table-column prop="End_Datetime" label="结束时间" fixed="right" width="160"></el-table-column>
                    <el-table-column align="center" label="操作" fixed="right" width="80">
                        <template #default="{row}">
                            <div style="display: flex; align-items: center;">
                                <el-button size="small" style="margin-right: 10px;" @click="handleEdit(row)">
                                    编辑
                                </el-button>
                            </div>
                        </template>
                    </el-table-column>
                </el-table>
                <el-pagination style="margin-top: 1%;" :current-page="form.Page" :page-size="form.Limit"
                    :page-sizes="[50, 100, 150, 200]" layout="total, sizes, prev, pager, next, jumper" :total="Total"
                    @size-change="handleSizeChange" @current-change="handleCurrentChange" />
            </div>
        </div>
    </div>
    </div>
    <script src="../../../utils/utils.js"></script>
    <script src="../../../config/config.js"></script>
    <script src="../../../utils/mixins.js"></script>
    <script src="../../../yl/vue.js"></script>
    <script src="../../../yl/index.js"></script>
    <script src="../../../yl/zh-cn.mjs"></script>
    <script src="../../../yl/index.iife.min.js"></script>
    <script src="../../../yl/jquery.min.js"></script>
    <script src="../../../utils/jquery.cookie.js"></script>
    <script src="../../../utils/xlsx.full.min.js"></script>
    <script src="../../../api/request.js"></script>
    <script src="js/index.js"></script>
</body>

</html>